<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--引用CSS-->
	<link rel="stylesheet" type="text/css" href="css/mycss.css">
	
  </head>
  
  <body>
  <table width="773" height="787" border="1" align="center">
  <tr>
    <td height="112" colspan="2"><div align="center">
    <!--引入head.jsp到主界面来  -->
    <jsp:include flush="true" page="head.jsp"></jsp:include>
    </div></td>
  </tr>
  
  <tr>
    <td width="25%" height="500"><div align="center">left.jsp</div></td>
    <td width="75%"><div align="center" >    
  
        <center>
       <br><br>
     <font face="楷体" size="6" color="">
                                    查找制定id的学生        search.jsp <br><br><br>
        </font>
    <hr><br>
    <br><a href="manager">管理员链接</a><br><br>
        
        
    <br>
    <form action="findStudent.action"> 
    查找指定的id:<input type="int" name="student.stu_id" size="20"> <br> 
    <input type="submit" value="submit">
    </form>
    
    <form action="findStudent.action"> 
    选择指定的id:
    <input type="submit" name="student.stu_id" value="1">
    <input type="submit" name="student.stu_id" value="2">
    <input type="submit" name="student.stu_id" value="3">
    <input type="submit" name="student.stu_id" value="4">
    <input type="submit" name="student.stu_id" value="5">
    <input type="submit" name="student.stu_id" value="6">
    </form>
    
    
    <br>
    
    <table width="100%" align="center" border="1">
    
    <tr>    
    <th>学生ID</th>
	<th>姓名</th>
	<th>账户</th>
	<th>密码</th>
	<th>年级</th>
	<th>专业</th>
	<th>学院</th>
	<th>班级</th>
	<th>性别</th>
	<th>指导老师</th>
	<th>邮件</th>
	<th>注册时间</th> 
    </tr>
    
    <s:iterator value="#request.list" >
    <tr>
    
	<td><s:property value="stu_id"/></td>
	<td><a href="show?name=<s:property value="name "/>" > <s:property value="name "/></a></td>
	<td><s:property value="count"/></td>
	<td><s:property value="code"/></td>
	<td><s:property value="grade"/></td>
	<td><s:property value="major"/></td>
	<td><s:property value="college"/></td>
	<td><s:property value="clas"/></td>
	<td><s:property value="sex"/></td>
	<td><s:property value="teacher"/></td>
	<td><s:property value="email"/></td>
	<td><s:property value="registerDate"/></td>
         
    </tr>

    </s:iterator>   
    </table>
    
    
     <a href="register.jsp">返回登录</><br>
    
    
    </center>

        
    </div></td>
  </tr>
  
  <tr>
    <td colspan="2"><div align="center">
     <jsp:include flush="true" page="tail.jsp"></jsp:include>
    </div></td>
  </tr>
    
  
</table>
  </body>
</html>

